package cn.shengchao.rule.condition.matchType;

import cn.shengchao.rule.condition.valueType.IValueType;

/**
 * @program: examstarapi
 * @description: 比对操作符
 * @author: Xiong weiqiang
 * @create: 2025-04-11 14:26
 */
public interface IMatchType {
    String EQUALS="eq";
    String GREATER_THAN="gt";
    String LESS_THAN="lt";

    String GREATER_AND_EQUALS="ge";
    String LESS_AND_EQUALS="le";


    String DATE_RANGE_IN="date_range_in";

    String IN_ARRAY="in_array";
    String getMatchTypeKey();
    String getMatchTypeValue();
    boolean isMatch(String targetValue, String matchValue, IValueType valueType);
}